package com.atwisdom.star.common.actionType.functionClass;

/**************************************************************************************
 * 方法枚举
 *
 **************************************************************************************/
public enum DatabaseActionType {
    //region ******************对应DatabaseBslService中的方法*urlPath = "/database"*****************
    DATABASE_INIT("INIT", "init", "初始化"),
    DATABASE_BACKUP("BACKUP", "backup", "备份"),
    DATABASE_RESTORE("RESTORE", "restore", "还原"),
    DATABASE_QUERY_BY_PAGE("QUERY_BY_PAGE", "queryByPage", "分页查询");
   //endregion

    private final String code;
    private final String methodName;
    private final String description;

    public String getCode() {
        return code;
    }

    public String getMethodName() {
        return methodName;
    }

    public String getDescription() {
        return description;
    }

    DatabaseActionType(String code, String methodName, String description) {
        this.code = code;
        this.methodName = methodName;
        this.description = description;
    }
}
